<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="/WEB-INF/template/basicTemplate.xhtml">

	<ui:define name="content">
		<head>
<title>
	<h:outputText value="#{msg.teamLeader}" />
</title>
		</head>
		<br />
		<f:event listener="#{loginBean.verifyTL()}" type="preRenderView"></f:event>
		<h:form>
			<div align="center">
				<h:commandButton value="#{msg.readEmployees}" styleClass="button"
					action="tlReadAngajati.xhtml" />
				<h:commandButton value="#{msg.ticket}" styleClass="button"
					action="proba.xhtml" />
				<br></br>
				<h:panelGrid columns="2" styleClass="inner-table login">
					<h:outputText value="#{msg.welcome}:" />
					<h:outputText value="#{loginBean.firstname}" />
					<h:outputText value="#{msg.username}:"></h:outputText>
					<h:outputText value="#{loginBean.uname}"></h:outputText>
					<h:outputText value="#{msg.lastname}:"></h:outputText>
					<h:outputText value="#{loginBean.lastname}"></h:outputText>
					<h:outputText value="#{msg.birthdate}:"></h:outputText>
					<h:outputText value="#{loginBean.dateofbirth}"></h:outputText>
					<h:outputText value="#{msg.email}:"></h:outputText>
					<h:outputText value="#{loginBean.email}"></h:outputText>
					<h:outputText value="#{msg.salary}:"></h:outputText>
					<h:outputText value="#{loginBean.salar}"></h:outputText>
					<h:outputText value="#{msg.areamanager}:"></h:outputText>
					<h:outputText value="#{loginBean.areaManager}"></h:outputText>
					<h:outputText value="#{msg.contactperson}:"></h:outputText>
					<h:outputText value="#{loginBean.contactpersonde}"></h:outputText>
				</h:panelGrid>
				<br></br>
				<h:commandButton value="#{msg.logout}" styleClass="button"
					action="#{loginBean.logOut()}" />
				<br></br>

				<h:messages styleClass="errorMessage"></h:messages>
			</div>

		</h:form>
	</ui:define>

</ui:composition>

</html>
